#include"TcpServer.hpp"
#include"CommandExec.hpp"
#include<memory>

int main()
{
    CommandExec cmd;
    std::unique_ptr<TcpServer> tsvr=std::make_unique <TcpServer>([&cmd](std::string cmdstr){return cmd.Execute(cmdstr);});

    tsvr->InitServer(); 
    tsvr->Start();

    return 0;
}